package repos

import javax.inject.Inject

import models.Jurisdiction
import org.sedis.Pool
import play.api.db.slick.DatabaseConfigProvider
import repos.Tables.JurisdictionTable
import slick.backend.DatabaseConfig
import slick.driver.JdbcProfile
import slick.lifted.TableQuery

class JurisdictionRepository @Inject()(databaseConfigProvider: DatabaseConfigProvider, pool: Pool)
  extends BaseRepository[Jurisdiction, JurisdictionTable](Tables.jurisdictions, pool) {
  override val dbConfig: DatabaseConfig[JdbcProfile] = databaseConfigProvider.get[JdbcProfile]

}
